package com.gxa.mapper;

import com.gxa.param.MyTableParam;
import com.gxa.pojo.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xiejinfeng
 * @create 2021-06-08 16:24
 * @descrip:
 */
public interface deptMapper {

    Dept findByPk(@Param("deptId") Integer deptId);

    List<Dept> findAll();

    List<Dept> findAllForList(@Param("param") MyTableParam param);

    void deleteOneById(Integer id);

    void deleteAll(@Param("ids") String[] ids);

    void save(@Param("dept") Dept dept);

    void update(@Param("dept") Dept dept);
}
